package com.neuedu.test1030;

public class Test_06_Switch2 {
	public static void main(String[] args) {
		int x = 100;
		switch(x) {
		case 1:
			System.out.println("in case 1");
			x++;
		case 5:
			System.out.println("in case 5");
			x++;
		case 6:
			System.out.println("in case 6");
			x++;
		case 7:
			System.out.println("in case 7");
			x++;
		default:
			System.out.println("in default");
			x++;
		}
		System.out.println("x="+x);
	}
}
